<%--
  Created by IntelliJ IDEA.
  User: 张乐
  Date: 2020/4/12
  Time: 16:38
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="${pageContext.request.contextPath}/classes/update" method="post" >
    <table border="0" cellspacing="2" cellpadding="2" align="center">
        <tr>
            <td align="center" colspan="2">修改学生信息</td>
        </tr>
        <tr>
            <td>班级名称</td>
            <td>
                <input type="text" name="cname" value="${u.cname}">
                <input type="hidden" name="class_id" value="${u.class_id}">
            </td>
        </tr>
        <tr>
            <td>任课老师</td>
            <td><input type="text" name="teacher" value="${u.teacher}"></td>
        </tr>
        <tr>
            <td>班主任</td>
            <td><input type="text" name="author" value="${u.author}"></td>
        </tr>
        <tr>
            <td><input type="submit" value="修改"></td>
            <td><input type="reset" value="重置"></td>
        </tr>
    </table>
</form>
</body>
</html>
